{% extends "_base.html" %}
{% block content %}
{% for item in result %}
<div id="cat_{{ item.cat.key.id }}" class="category">
    <h3>{{ item.cat.name }}</h3>
    <ul>
        {% for site in item.sites %}
        <li id="site_{{ site.key.id }}">
            <img src="{{ site.favicon }}" />
            <a href="{{ site.url }}">
                {{ site.title }}
            </a>
        </li>
        {% endfor %}
    </ul>
</div>
{% endfor %}
{% endblock %}